package com.yunxi.otd.pojo;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yunxi.core.web.DateJsonDeserializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 周生产日历导入对象
 * </p>
 *
 * @author XUQI
 * @since 2019-05-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="OtdWeekCalendarImportVO", description="周生产日历导入对象")
public class OtdWeekCalendarImportVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "年")
    private String year;

    @ApiModelProperty(value = "月")
    private String month;

    @ApiModelProperty(value = "周")
    private String week;

    @JsonDeserialize(using = DateJsonDeserializer.class)
    @ApiModelProperty(value = "开始时间")
    private Date startDate;

    @JsonDeserialize(using = DateJsonDeserializer.class)
    @ApiModelProperty(value = "结束时间")
    private Date endDate;









}
